#define _CRT_SECURE_NO_WARNINGS 1

#include<algorithm>
#include<iostream>
#include"ThreeNum.h"

int main()
{
	vector<int> v({ - 1, 0, 1, 2, -1, -4 });
	Solution s;
	vector<vector<int>> ret = s.threeSum(v);
	for (int i = 0;i < ret.size();++i)
	{
		for (int j = 0; j < ret[0].size(); ++j)
		{
			cout << ret[i][j] << "   ";
		}
		cout << endl;
	}

	return 0;
}